-- GENERATED SPELL FOR [Murloc Coastrunner] --


function spell0_126(pUnit, Event) --@Poisonous Stab,n/a--
pUnit:FullCastSpellOnTarget(7357,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_126', 15000, 1)
end

function Sorts_126(pUnit, Event)
local choix_sorts_126 = math.random(0, 0)
if choix_sorts_126 == 0 then
pUnit:RegisterEvent('spell0_126', 1, 1)
end
end

function mob126_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_126', math.random(1500, 3000), 1)
end

function mob126_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob126_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob126_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(126, 1, 'mob126_Action')
RegisterUnitEvent(126, 2, 'mob126_Leave')
RegisterUnitEvent(126, 3, 'mob126_Kill')
RegisterUnitEvent(126, 4, 'mob126_Die')
